package com.ztesoft.report.dao;

import com.ztesoft.report.base.dao.BaseMapper;
import com.ztesoft.report.entity.Datasource;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 数据源配置信息表 Mapper 接口
 * </p>
 *
 * @author y3tu
 * @since 2018-05-29
 */
public interface DatasourceDao extends BaseMapper<Datasource> {

    List<Datasource> selectDataByNameOrJdbc(@Param("name") String name,@Param("driverClass")String driverClass);

    List<Datasource> selectByJdbc(String url);
}